package com.gongj.service;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.annotation.DependsOn;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
public class UserService implements InitializingBean {

	public void test(){
		System.out.println("调用");
	}

	@Override
	public void afterPropertiesSet() throws Exception {
		System.out.println("初始化====");
	}
}
